<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<!-- Casting SPELs in Lisp - Emacs Lisp Edition, a Comic Book
     Written by Conrad Barski, M.D., http://lisperati.com
     Edited by James A. Webb, http://uberkode.com -->

<head>

  <title>Casting SPELs in Lisp (29)</title>
  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta name="author" content="James A. Webb" />
  <meta name="date" content="2007-09-16T00:00:00+00:00" />
  <meta name="keywords" content="Emacs, Lisp" />

</head>

<body>

<center>

<table cellspacing="10" width="500">
  <tr>
    <td align="center">
      <img src="../images/splash-the-wizard.jpg" 
        width="500" 
        height="397" 
        alt="Splashing the wizard with the bucket full of water" />
    </td>
  </tr>
  <tr>
    <td>
      And now our last code for splashing water on the wizard:
    </td>
  </tr>
  <tr>
    <td>
<pre style="font-weight: bolder; color: darkblue">
  (game-action splash bucket wizard living-room
    (cond ((not bucket-filled) '(the bucket has nothing in it -))
          ((have 'frog) '(the wizard awakens and sees that you stole
                          his frog - 
                          he is so upset he banishes you to the 
                          netherworlds - you lose! the end -))
          (t '(the wizard awakens from his slumber and greets you
               warmly - 
               he hands you the magic low-carb donut - you win!
               the end -))))
</pre>
    </td>
  </tr>
  <tr>
    <td align="center">
      &lt;&lt; <a href="casting-spels-emacs-1.html">begin</a>
      &lt; <a href="casting-spels-emacs-28.html">previous</a> - 
      <a href="casting-spels-emacs-30.html">next</a> &gt;
      <a href="casting-spels-emacs-35.html" >end</a> &gt;&gt;
    </td>
  </tr>
</table>

</center>

</body>

</html>